<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('模板类型')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input  disabled class="form-control" type="text" value="通知短信">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('模板名称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input  disabled class="form-control" type="text" value="{$row.title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('模板内容')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input  disabled class="form-control" type="text" value="{$row.sms_tpl|htmlentities}">
            <span style="color:#888;font-size: 13px;">*请复制到阿里云短信后台，然后将获取到的模板CODE填入下方</span>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('模板CODE')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sms_template_code" placeholder="请输入" data-rule="required" class="form-control" name="row[sms_template_code]" type="text" value="{$row.sms_template_code|htmlentities}">
            <span style="color:#888;font-size: 13px;">*请输入SMS_开头的代码</span>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
